package model.registro;


public class RegistroAudio extends Registro {

	private byte[] aDatosAudio;
	
	public RegistroAudio() {}
	
	public RegistroAudio(byte[] xDatosAudio) {
		
		aDatosAudio=xDatosAudio;
		
	}

	public byte[] convertirRegistroABytes() {

		return aDatosAudio;
		
	}

	public void convertirBytesARegistro(byte[] xBytesAConvertir) {
		
		aDatosAudio=xBytesAConvertir;
		
	}

	public byte[] getDatosAudio() {
		return aDatosAudio;
	}

	public int getTamanioRegistro() {
		return aDatosAudio.length;
	}
	
}
